<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>

        body {
            background-color: black;
            margin: 0;
            padding: 0;
        }

        .box {
            width: 200px;
            height: 200px;
            border: 3px solid #767676;
            background-color: transparent;
            border-radius: 50%;
            position:relative;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 100px;

            animation: round 3s infinite linear;

        }

        .box-inner {
            background-color: #c7c780;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            box-shadow: 0 0 50px 10px #fff;

        }

        /* 通过伪元素添加小球 */
        .box::before {
            position: absolute;
            top: 0;
            left: 28px;
            content: '';
            width: 30px;
            height: 30px;
            background-color: rgb(64, 144, 201);
            border-radius: 50%;
            box-shadow: 0 0 15px 6px #fff;
            z-index: 2;

        }

        /* 动画 */
        @keyframes round {
            0% {
                transform: rotate(0deg);
                /* rotate: 0deg; */
            }
            100% {
                transform: rotate(360deg);
                /* rotate: 360deg; */
            }
            
        }
    </style>
</head>
<body>

    <div class="box">

        <div class="box-inner"></div>
    </div>
    
</body>
</html>